package com.foreknow.elm.dao;

import com.foreknow.elm.po.OrderDetaiLet;

import java.sql.SQLException;
import java.util.List;

public interface OrderdetailetDao {
    /**
     *向订单明细表中批量添加数据
     * @param list
     * @return
     */
    public Integer saveOrdersdetailrt(List<OrderDetaiLet> list) throws SQLException;

    /**
     * 根据订单编号查询订单明细
     * @param orderId
     * @return
     */
    public List<OrderDetaiLet> selectOrderDetaiLet(Integer orderId) throws SQLException;
}
